home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #
- # Postinstallscript written by Ron Record (rr@sco.com)
- #
-
- scriptname="$0"
- step="$1"
- keywords="$2"
- pkglist="$3"
-
- # Source in the standard functions library, ccsSetup.sh
- . ccsSetup.sh
-
- ccs_return_value=0
-
- ConfDriver()
- {
- # [ -x /usr/lib/oss/Remove ] && /usr/lib/oss/Remove
-
- /ibin/osaconf -a sco audioconfig.osa LOOP_BACK sco_Tcl_osa \
- /usr/lib/audio/audioconfig/audioconfig.osa
- /ibin/classconf -a sco audioconfig audioconfig.osa
- /ibin/classconf -a sco audiocard audioconfig.osa
-
- # /etc/pnp
- # [ -x /usr/lib/audio/audioconfig/audioconfig ] && {
- # /usr/lib/audio/audioconfig/audioconfig
- # }
- # echo "\nYou must reboot your system to activate the newly installed"
- # echo "Skunkware 98 audio driver."
- echo "\nSee the Skunkware 98 Release Notes for instructions on how"
- echo "to configure your system for use with the Skunkware 98 audio driver."
- }
-
- RemoveDriver()
- {
- /ibin/osaconf -d sco audioconfig.osa
- /ibin/classconf -d sco audioconfig
- /ibin/classconf -d sco audiocard
- /etc/conf/bin/idinstall -d oss
- }
-
- case "$step" in
- POST_EXPORT) ConfDriver ;;
- PRE_UNEXPORT) RemoveDriver ;;
- esac
-
- exit $ccs_return_value
-
-